<% form_for :movie, :url => movies_url, :html => { :multipart => true } do |form| %>
            	<a href=""> Home </a>›<a href="#"> Index </a>›<a href="#"> XXX </a>
                <table>
                	<tr>
                    	<td style=" padding:10px; width:400px;">
                        	Pictures
							<% fields_for :movie_pics do |f| %>
                       	  	<ul>
                       	  		<li>
                    			    <%= f.file_field :uploaded_data_1 %>
								</li>
								<li>
                    			    <%= f.file_field :uploaded_data_2 %>
								</li>
                                <li><a class="button" href="#">Add +</a></li>
                            </ul>
							<% end %>
                        </td>
                      <td>
                       	<h4></h4>
          				<table cellpadding="0" cellspacing="0" class="list_table">
							<tr>
                    			<td style="width:200px;">
                        			<h4>Movie Name:</h4>
                        		</td>
                        		<td>
                        			  <label>
                        			    <%= form.text_field :name, :class => :text_field %>
                      			    </label>
                        		</td>
                    		</tr>
							<tr class="gray">
                    			<td style="width:200px;">
                        			<h4>Movie genre:</h4>
                        		</td>
                        		<td>
                        			  <label>
                        			    <%= form.text_field :movie_genre, :class => :text_field %>
                      			    </label>
                        		</td>
                    		</tr>
                    		<tr>
                        		<td style="width:200px;">
                        			<h4>Show Status:</h4>
                        		</td>
                        	<td>
                           	  	<%= form.text_field :show_status, :class => :text_field %>
							</td>
                        	</tr>
                        
                        	<tr class="gray">
                            	<td style="width:100px;">
                                	<h4>Time Period On Show:</h4>
                            	</td>
                            	<td>
                                	<%= form.text_field :time_period_on_show, :class => :text_field %>MINS</h4>
                            	</td>
                        	</tr>
                        	<tr>
                          		<td style="width:200px;">
                                	<h4>Cost</h4>
                            	</td>
                            	<td>
                                	<%= form.text_field :cost, :class => :text_field %>$
                            	</td>
                        	</tr>
 
                    	</table>
                    <div style="background:#111; margin:10px 10px 0 10px; padding:5px; border-bottom:#333 1px solid;">More Detail
						<img src="/images/manu_button_open.png" width="50" height="10" onclick="Effect.toggle('more_detail', 'slide'); return false"/>
					</div>
                    <div id="more_detail" style="display:none">
						<table cellpadding="0" cellspacing="0" class="list_table" style="margin:0px 20px 0px 20px; width:380px;">
                    		<tr>
                        		<td style="width:50%"><h4>a</h4></td><td>b</td>
                        	</tr>
                        	<tr class="gray">
                        		<td><h4>a</h4></td><td>b</td>
                        	</tr>
                    	</table>
					</div>
                    <div style="background:#111;margin:0px 10px 10px 10px; padding:5px;border-top:#333 1px solid;text-align:center;">
                    	<%= submit_tag :Save %>
                    </div>
                    
                        
                    </div>
                </td>
            </tr>
    </table>
<%end%>